package com.csair.seam.infrastructure.log;

import org.jasypt.util.text.BasicTextEncryptor;
import org.springframework.amqp.rabbit.logback.AmqpAppender;

public class MyAmqpAppender extends AmqpAppender{
	@Override
	@SuppressWarnings("all")
	public void setPassword(String password) {
		BasicTextEncryptor textEncryptor = new BasicTextEncryptor();
        textEncryptor.setPassword("wer23er*8");
		super.setPassword(textEncryptor.decrypt(password));
	}
	
}
